<template>
	<view class="con">
		<view class="flex-ju-b flex-wrap ">
			<view v-for="(item,index) in infolist" @click="navto('video_detail?id='+item.id)" class="flex flex-col mt30 posire" style="width: 48%;">
				<image :src="item.image_input[0]" class="height200 width1000 ra10"></image>
				<view class="size26 mt5 mb5">{{item.title}}</view>
				<view class="size20 colorb8b8b8">{{item.add_time}}</view>
				<view class="flex-ju-c posiab height200 width1000">
					<image src="/static/bofang.png" class="width70 " mode="widthFix"></image>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				infolist:[],
				page:1
			}
		},
		onReachBottom() {
			this.page++
			this.getlist()
		},
		onLoad(option) {
			this.getlist()
		},
		methods: {
			getlist(){
				this.http('/article/list/2',{limit:15,page:this.page}).then(res=>{
					this.infolist = [...this.infolist,...res.data]
				})
			}
		}
	}
</script>

<style>

</style>
